Spread Silverlight Documentation
Remove Method (NotifyCollectionBase<T>)


The item to remove from the collection.
Removes the specified item from the collection.
Syntax
'Declaration
 
Public Overridable Function Remove( _
   ByVal item As T _
) As System.Boolean
'Usage
 
Dim instance As NotifyCollectionBase(Of T)
Dim item As T
Dim value As System.Boolean
 
value = instance.Remove(item)
public virtual System.bool Remove( 
   T item
)

Parameters

item
The item to remove from the collection.

Return Value

true if the item is successfully removed; otherwise, false.
Exceptions
ExceptionDescription
System.NotSupportedExceptionThe collection is read-only.
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

NotifyCollectionBase<T> Class
NotifyCollectionBase<T> Members

 

 


Copyright © GrapeCity, inc. All rights reserved.